home *** CD-ROM | disk | FTP | other *** search
-
-
-
- - 1 -
-
-
-
- 5. _A_u_d_i_o__L_i_b_r_a_r_y
-
- This chapter lists information about the IRIS Audio Library
- programming interface included in the IRIS Digital Media
- Development Environment. It includes changes, additions,
- and bug fixes since the IRIX 5.3 release, and known
- problems, workarounds, and caveats.
-
- The IRIS Audio Library is a C language procedure call
- library that allows application programs to read digital
- audio input data from and write audio output data to the
- IRIS Audio Processor. The library also includes procedures
- for reading and writing control parameters in the Audio
- Processor, such as the global input and output sample rates.
-
- The Audio Library is shipped as a statically-linked library
- (/_u_s_r/_l_i_b/_l_i_b_a_u_d_i_o._a) included with the IRIX Development
- Option software.
-
- Please consult the _I_R_I_S _D_i_g_i_t_a_l _M_e_d_i_a _P_r_o_g_r_a_m_m_i_n_g _G_u_i_d_e for
- an introduction to programming with Audio Library and a
- detailed description of its functions.
-
- The on-line manual page _A_L_i_n_t_r_o(_3_d_m) contains a short
- overview of library functionality and a complete list of the
- procedure calls.
-
-
- 5.1 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s
-
- This section lists changes/additions to the Audio Library,
- audio driver, and accompanying example source code since the
- IRIX 5.3.
-
- +o A version of the Audio Library is now available with
- support for 64-bit address spaces (the -64 compiler
- option). Install dmedia_dev.sw64.lib to get this
- version. It will be installed in /usr/lib64.
-
- +o A version of the Audio Library is now available with
- support for the n32 ABI (and therefore 32-bit
- applications compiled with -mips3 or -mips4). Install
- dmedia_dev.sw32.lib to get this version. It will be
- installed in /usr/lib32.
-
- +o The IRIX 6.2 version of the Audio Library incorporates
- a number of performance enhancements. Most notably, the
- performance of the Audio Library with floating-point
- and double-precision samples has been considerably
- improved.
-
-
-
-
-
-
-
-
-
-
-
-
- - 2 -
-
-
-
- 5.2 _B_u_g__F_i_x_e_s
-
- This section lists the bugs fixed since the last release of
- the IRIS Audio Library. Some of the descriptions are
- followed by a Silicon Graphics bug report number in the form
- (SCR XXXX).
-
- +o A problem existed in IRIX 5.3 where small errors could
- be introduced in ALgetframenumber when input and output
- ports were in use simultaneously. This has been fixed.
- (SCR 288639)
-
- +o In four-channel mode, at sample-rates derived from
- 44.1kHz, under certain conditions the front and back
- stereo pairs could become swapped. This has been fixed
- (SCR 315007).
-
- +o When using 24-bit I/O, the maximum sample value was
- limited to 0x7fff00 instead of 0x7fffff. This
- restriction has been removed (SCR 343466).
-
- 5.3 _K_n_o_w_n__P_r_o_b_l_e_m_s__a_n_d__W_o_r_k_a_r_o_u_n_d_s
-
- This section lists problems in the Audio Library software
- and ways to work around them.
-
- +o When there is nothing physically connected to the
- digital I/O jack, it is meaningless to set the system
- sample rates in the following three ways:
-
- +o output sample rate set to match the input sample
- rate while using digital input as the system
- input.
-
- +o input sample rate set to the digital rate and the
- output rate set to match the input rate.
-
- +o input sample rate set to the digital rate and the
- output rate set to the digital input rate.
-
- +o When the system is placed in one of these states,
- the behavior cannot be predicted. Performing any
- of the actions listed above should be avoided by
- application programs.
-
- 5.4 _P_r_o_g_r_a_m_m_i_n_g__E_x_a_m_p_l_e_s
-
- The _d_m_e_d_i_a__d_e_v._s_r_c._e_x_a_m_p_l_e_s subsystem contains several
- source code examples for programming with the Audio Library.
- The source code is available in the directory
- /_u_s_r/_s_h_a_r_e/_s_r_c/_d_m_e_d_i_a/_a_u_d_i_o.
-
-
-
-
-
-
-
-
-
-
-
- - 3 -
-
-
-
- The _d_m_e_d_i_a__d_e_v._s_r_c._t_o_o_l_s subsystem includes the source code
- for the standard aaaauuuuddddiiiiooooppppaaaannnneeeellll((((1111)))) and ssssoooouuuunnnnddddppppllllaaaayyyyeeeerrrr((((1111)))) tools
- which are shipped with IRIX 6.2. The source code is
- installed in the directories
- /_u_s_r/_s_h_a_r_e/_s_r_c/_d_m_e_d_i_a/{_a_u_d_i_o_p_a_n_e_l,_s_o_u_n_d_p_l_a_y_e_r}.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-